package com.rpay.web.interceptor.authentic;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Title：
 * Description
 *
 * @author fxg06 on 2018/4/19
 * @version 1.0
 */
@Target({ ElementType.TYPE, ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
public @interface AccessControl {
    String[] value() default "";

    /** AccessControlType {
     * @code @PcsAccessControl(type=AccessControlType.APPTOKEN, AccessControlType.ACCESS_TOKEN}
     * )}
     */
    AccessControlType[] type();
}
